﻿<!DOCTYPE html>

<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="{{ url_for('static', filename='/css/register.css') }}"/>
    <script src="{{ url_for('static', filename='/js/jquery-3.6.4.min.js') }}"></script>
    <script src="{{ url_for('static', filename='/js/register.js') }}"></script>
    <title>注册</title>
</head>

<body>
    <div class="reg_div">
        <div class="h_title"><h3>五子棋注册</h3></div>
        <div class="h_hr"></div>
        <form  method="post" action="/user/register" onsubmit="return registerForm()">
            <label>账号</label><input type="text" name="username" id="username" placeholder="请输入账号..." /><br />
            <label>密码</label><input type="password" name="password" id="password" placeholder="请输入密码..." /><br />
            <label>确认密码</label><input type="password" id="checkPassword" placeholder="请确认密码..." /><br />
            <label>Email</label><input type="email" placeholder="请输入邮箱..." name="email" id="email" /><br />
            <input type="number" id="code" placeholder="请输入验证码..." /><button id="code-btn">发送验证码</button><br />
            <input class="submit_btn" value="提交" type="submit"  >
        </form>
    </div>
</body>
</html>